﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace DataLibrary.Entity
{
    public class Account
    {
        [Key]
        public string Id { get; set; }
        public string User { get; set; }
        public string Pass { get; set; }
        public string Nick { get; set; }
        public DateTime CreateTime { get; set; }
        public int State { get; set; }

        public IEnumerable<Product> Products { get; set; }
    }
}
